package com.naiterui.ehp.bs.im.network.protocl;

import java.io.Serializable;

/**
 * 用户设置勿扰模式 <P>File name : PushStatus.java </P> <P>Author : heqiang </P> <P>Date
 * : 2015年11月10日 </P>
 */
public class Shield implements IChecker, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 医生Id
     */
    private Long userId;

    /**
     * 屏蔽的Id
     */
    private Long shieldId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShieldId() {
        return shieldId;
    }

    public void setShieldId(Long shieldId) {
        this.shieldId = shieldId;
    }

    @Override
    public boolean selfValidate() {
        if (userId == null || shieldId == null) {
            return false;
        }
        return true;
    }

}
